<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <h1>标题</h1>
  <img src="" alt="">
  <input type="button" value="按钮" id="btn">
  <script>
    // 动态创建元素
    // document.write()
    // element.innerHTML
    // document.createElement()
    var btn = document.getElementById('btn');
    btn.onclick = function () {
      // 当点击按钮的时候使用document.write()输出内容，会把之前的整个页面覆盖掉
      document.write('Hello <p>World</p>');
    }
    
  </script>


  <a id="ibangkf" href="http://www.ibangkf.com">网站客服</a>
  <script type="text/javascript" src="http://c.ibangkf.com/i/c-xxxzzzz123.js"></script>
</body>
</html>
